function http({
  url,success
}){
  wx.request({
      url,
      data: {},
      header: {'content-type':'application/json'},
      method: 'GET',
      dataType: 'json',
      responseType: 'text',
      success: (res)=>{
          success(res)
      }
  });
}
module.exports={
  http
}